import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {FormComponent} from './form/form.component';
import {CrossBorderComponent} from './cross-border/cross-border.component';
import {AckComponent} from './ack/ack.component';
import {ErrorComponent} from './error/error.component';

const routes: Routes = [
  {
    path: 'cross-border',
    component: CrossBorderComponent
  },
  {
    path: 'ack',
    component: AckComponent
  },
  {
    path: 'error',
    component: ErrorComponent
  },
  {
    path: 'form',
    component: FormComponent
  }
];

@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule]
})
export class AppRoutingModule { }
